/*
 * Copyright (c) 2006, 2021, webrx.cn All rights reserved.
 *
 */
package cn.webrx.entity;

import java.time.LocalDate;

/**
 * <p>Project: javaseapp - Student
 * <p>Powered by webrx On 2021-08-04 15:36:59
 * <p>Created by IntelliJ IDEA
 *
 * @author webrx [webrx@126.com]
 * @version 1.0
 * @since 16
 */
public class Student {
    private int id;
    private String name;
    private int age;
    private double money;
    private String address;
    private boolean isStu;
    private LocalDate birth;
    private String userName;

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public Student(int id, String name, int age) {
        this.id = id;
        this.name = name;
        this.age = age;
    }

    public Student(int id, String name, int age, double money, String address, boolean isStu, LocalDate birth) {
        this.id = id;
        this.name = name;
        this.age = age;
        this.money = money;
        this.address = address;
        this.isStu = isStu;
        this.birth = birth;
    }

    public Student() {
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getAge() {
        return age;
    }

    public void setAge(int age) {
        this.age = age;
    }

    public double getMoney() {
        return money;
    }

    public void setMoney(double money) {
        this.money = money;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public boolean isStu() {
        return isStu;
    }

    public void setStu(boolean stu) {
        isStu = stu;
    }

    public LocalDate getBirth() {
        return birth;
    }

    public void setBirth(LocalDate birth) {
        this.birth = birth;
    }

    @Override
    public String toString() {
        return "Student{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", age=" + age +
                ", money=" + money +
                ", address='" + address + '\'' +
                ", isStu=" + isStu +
                ", birth=" + birth +
                '}';
    }
}
